/*
 * @Author: Bo Cai
 * @Mail: caibo0520@qq.com
 * @Date: 2021-11-20 14:39:30
 * @LastEditors: Bo Cai
 * @LastEditTime: 2021-12-06 00:06:32
 */
import request from '@/utils/request'

export default {
  get_contents (query_obj) {
    return request({
        url: `/api/qingdong/content_center/get/content`,
        method: 'post',
        data: query_obj
      }
    )
  },
  create_contents (content) {
    return request({
        url: `/api/qingdong/content_center/create/content`,
        method: 'post',
        data: content
      }
    )
  },
  get_labels () {
    return request({
        url: `/api/qingdong/content_center/get/labels`,
        method: 'get',
      }
    )
  },
  get_comments (query_data) {
    return request({
        url: `/api/qingdong/content_center/get_comments`,
        method: 'post',
        data: query_data,
      }
    )
  },
}
